package com.tecode.day02.exer;

public class TestVehicle {

	
	public static void main(String[] args) {
		Vehicle v = new Vehicle(100 ,10);
		
		
		System.out.println("当前速度为:" + v.getSpeed());
		v.move();
		
		v.speedUp();
		v.move();
		
		v.speedUp();
		v.move();
		
		v.speedDown();
		v.move();
	}
}
